var mongoose = require('mongoose');
mongoose.Promise = global.Promise;
mongoose.connect('mongodb://127.0.0.1/node-mongo-tuer',{
  useMongoClient:true
});

exports.diary = require('./diary');
exports.notebook = require('./notebook');
exports.user = require('./user');
exports.comment = require('./comment');
exports.ids = require('./ids');
exports.images = require('./images');
